import { request } from "@/utils";


// 登录
export function loginAPI(data) {
    return request({
        url: '/authorizations',
        method: 'post',
        data
    })
}

// 获取用户信息
export function getProfileAPI() {
    return request({
        url: '/user/profile'
    })
}


